//
//  ZMViewController.h
//  iosClassTool
//
//  Created by 张明磊 on 14-4-3.
//  Copyright (c) 2014年 张明磊. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "MINavigationController.h"
@class ZINavigationController;
@class ZMLNavigationController;

@interface ZMViewController : UIViewController

@property (assign ,nonatomic) MINavigationController *navigationController_MI;
@property (assign, nonatomic) ZINavigationController *navigationController_ZI;
@property (assign, nonatomic) ZMLNavigationController *navigationController_ZML;

@property (strong, nonatomic) UIView *view_title_super;
@property (strong, nonatomic) UILabel *label_title_super;
@property (strong, nonatomic) UIButton *button_left;
@property (strong, nonatomic) UIButton *button_right;

- (void)pushViewController:(ZMViewController *)viewController;
- (void)popViewController;
- (void)popViewControllerToRootView;

- (void)ui_title:(NSString *)titleStr withLeftImageName:(NSString *)leftImageName withReftImageName:(NSString *)rightImageName;

#pragma mark - 处理进入后台返回的事件 -
/**
 *  处理进入后台返回的事件(子类覆盖)
 */
- (void)handleEventWhenAppGoback;

#pragma mark - 处理从后台返回的事件 -
/**
 *  处理从后台返回的事件(子类覆盖)
 */
- (void)handleEventWhenAppGoForeground;

@end
